<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>

<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>签到表单</title>
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <link rel="stylesheet" type="text/css" href="css/style.css" />
</head>
<body>
    <div class="container">
        <div class="main">
            <div class="bg"></div>
            <div class="formone">
                <form class="formtwo" action="doregister.jsp" method="get">
                    <div class="registertitle">
                        签到
                        <img src="https://img.shields.io/badge/%E6%9C%8D%E5%8A%A1%E5%99%A8-%E6%AD%A3%E5%B8%B8-brightgreen" alt="徽章服务器异常" title="服务器的实时状态" style="margin-left: 10px; font-size: 12px; right: 10px">
                    </div>
                    <div class="savename"><input type="text" name="username" id="" value="" placeholder="请输入曲园账号" /></div>
                    <div class="savepassword"><input type="text" name="password" id="" value="" placeholder="请输入曲园密码" /></div>
                    <div class="btn_list">
                        <div class="okbtn"><button type="submit">确认</button></div>
                        <div class="okbtn"><a href="./gg.html">公告</a></div>

                        <div class="resetbtn"><button type="reset">撤销</button></div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</body>
<script type="text/javascript">
    let formone=document.querySelector('.formone');
    let registerpage=document.querySelector('.registerpage');
    let registerbtn=document.querySelector('.registerbtn');
    let resetbtn=document.querySelector('.resetbtn');
    registerbtn.addEventListener("click",()=>{
        formone.style.display='none';
    registerpage.style.display="flex";
    })
    resetbtn.addEventListener("click",()=>{
        formone.style.display='flex';
    registerpage.style.display="none";
    })
</script>
</html>
